# ====makefile======
OBJECTS_CONN_MYSQL= connMysql

MACRO_DB_SERVER= -D DB_SERVER="192.168.102"
MACRO_DB_NAME= -D DB_NAME="test"
MYSQL_INC=-I/usr/include/mysql

INC1=src/mysql/accessMysql.c
INC2=
INC3=
INC4=
INC5=
INC6=
INC7=
INC8=
INC9=
INC10=
CC = g++
LD = $(CC)
LDFLAGS = -w -g

all:$(OBJECTS)
	cp connMysql ./bin/
connMysql:
	$(LD) $(MYSQL_INC) $(LDFLAGS) -o $(OBJECTS_CONN_MYSQL)
clean:
	rm -rf *.o
	rm -rf *.txt *.db
	rm -rf $(OBJECTS)